3.2.3 Rules to Find Whether a given rational is terminating or not